.minerCard {
  .check {
    margin-top: 6px;
    color: #e1ecf7;
    margin-right: 12px;
    > svg {
      width: 20px;
      height: 20px;
    }
    &.active {
      color: var(--primary-color);
    }
  }
  .name {
    line-height: 22px;
    color: var(--primary-text-color);
    font-size: 16px;
    font-family: PingFangSC-bold;
    > svg {
      color: var(--text-color);
    }
  }
  .hash {
    line-height: 24px;
    color: var(--primary-text-color);
    font-size: 12px;

    font-family: PingFangSC-regular;
  }
  .ip {
    line-height: 24px;
    font-family: PingFangSC-regular;
  }
  .line2 {
    margin-top: 3px;
    svg {
      color: var(--text-color);
    }
  }
}

.minerCardInfo {
  .cardInfo {
    width: calc(50% - 2px);
    height: 35px;
    background-color: #fff;
    border-radius: 8px;
    border: var(--border);
    margin-top: 5px;
    padding-left: 10px;
    span {
      display: inline-block;
    }
    .index {
      width: 22px;
      color: #909ab9;
    }
    .tempOrHash {
      padding: 1px 8px;
      margin-right: 4px;
      color: var(--primary-text-color);
      border-radius: 20px;
      &.warning-count {
        background-color: #fcf3d9;
        color: var(--warning-color);
      }
      &.abnormal-count {
        background-color: #f9d7dd;
        color: var(--abnormal-color);
      }
    }
  }
}
.minerItem {
  overflow: hidden;
}

.minerItemOpenWrap {
  animation: fadeIn 0.5s cubic-bezier(0.7, 0.3, 0.1, 1);
  .minerItemHandleWrap {
    padding: 0 12px;
    width: 100%;
    height: 50px;
    background-color: #fff;
    border: var(--border);
    margin-top: 5px;
    margin-bottom: 30px;
  }
}

@keyframes fadeIn {
  from {
    transform: translateY(-270px);
  }
  to {
    transform: translateY(0px);
  }
}

.offlineTip {
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -9.5px;
  span {
    margin-left: 6px;
  }
}
